package com.taobaolite.history;

import com.taobaolite.item.ItemBody;
import com.taobaolite.user.UserBody;

import java.sql.Timestamp;

public class HistoryBody {

    private Long itemId;
    private Timestamp time;
    private String name;
    private Double price;
    private String description;
    private String imageDir;
    private Long storeId;
    private Long amount;

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public HistoryBody() {
    }

    public HistoryBody(Long itemId, Timestamp time, String name, Double price, String description, String imageDir, Long storeId, Long amount) {
        this.itemId = itemId;
        this.time = time;
        this.name = name;
        this.price = price;
        this.description = description;
        this.imageDir = imageDir;
        this.storeId = storeId;
        this.amount = amount;
    }

    public Long getItemId() {
        return itemId;
    }

    public String getName() {
        return name;
    }

    public Double getPrice() {
        return price;
    }

    public String getDescription() {
        return description;
    }

    public String getImageDir() {
        return imageDir;
    }

    public Long getStoreId() {
        return storeId;
    }

    public Long getAmount() {
        return amount;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setImageDir(String imageDir) {
        this.imageDir = imageDir;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }
}
